package com.java2.String;

public class StringDemo {

	public static void main(String args[]) {
		// 1
		// for(short i=0;i<128;i++){
		// System.out.println((char)i);
		// }
		// System.out.println((char)(65));
		// 2

		System.out.println(Byte.BYTES);
		System.out.println(Character.BYTES);
		System.out.println(Short.BYTES);
		System.out.println(Integer.BYTES);

		System.out.println(Long.BYTES);
		System.out.println(Float.BYTES);
		System.out.println(Double.BYTES);

		System.out.println(Integer.TYPE);
		Character cc = '四';
		System.out.println(cc);
		String s1 = "12 ";
		String s2 = "34";
		String s3 = s1 + s2;
		try {
			System.out.println(Integer.parseInt(s3));
		} catch (java.lang.NumberFormatException e) {
			e.printStackTrace();
		}
		
	}

}
